Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't lock state in tests #1990

Merged
merged 1 commit into from
Aug 3, 2022
Merged

fix: don't lock state in tests #1990

merged 1 commit into from
Aug 3, 2022

Conversation

danielBreitlauch
Copy link
Contributor

The test matcher toPlanSuccessfully executes a full Terraform plan which needs to look at potentially locked remote state.
This locks the state and interferes with tests running in parallel etc.

On the other hand, disabling the locking in tests should have no negative affect.
Hence the PR.

@hashicorp-cla
Copy link

hashicorp-cla commented Aug 2, 2022

CLA assistant check
All committers have signed the CLA.

@danielBreitlauch danielBreitlauch changed the title don't lock state in tests fix: don't lock state in tests Aug 3, 2022
Copy link
Member

@ansgarm ansgarm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @danielBreitlauch 👍 Sounds sensible to me.

@ansgarm
Copy link
Member

ansgarm commented Aug 3, 2022

(force pushed to fix the commit message to please our linter)

@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants